xen/flask: fix crash on debugkey "i"
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 13 Feb 2013 17:04:33 +0000 (17:04 +0000)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 13 Feb 2013 17:04:33 +0000 (17:04 +0000)
commit505023822fe48af3636fd6cdb1e689760831efac
tree544f966d5e8d2a0602d6e20e3184eaf3d0372fb5
parent511278b4e239df00de7b33f7b42d8d5d7e52221b
xen/flask: fix crash on debugkey "i"

The IRQs beyond nr_static_irqs do not all have an associated PCI
device, so only query the device SID if pci is not NULL.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/xsm/flask/hooks.c